package edu.ynu.se.xiecheng.achitectureclass.common.entity;

import edu.ynu.se.xiecheng.achitectureclass.common.entity.abstrac.LogicEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;

@Getter
@Setter
@Entity
@Table(name = "greenhouse")
public class Greenhouse extends LogicEntity {
    @Column(nullable = false)
    private String name;

    @Column(nullable = false)
    private String address;

    @Column(nullable = false)
    private Double area;


    // 其他扩展字段和方法
}
